Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerLuca Boccassi <bluca@debian.org>
Thu, 21 Sep 2023 10:13:06 +0000 (11:13 +0100)
commit079392cedcec1d99513b38f55481700aaadd19e7
treea8bdca668dd1cb2162a8c9247721435938c87bc3
parentb3098d864ed053b6eca8ee71e9aa85d2d1194f78
Only start logind if dbus is installed

logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.

Consider both dbus-daemon (the reference implementation) and
dbus-broker.

Part of #772700

Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
units/systemd-logind.service.in